package com.arch.dev.client.Util;

import com.arch.dev.client.impl.Observable;



public class MessageObserver extends Observable {

	private static MessageObserver messageObserver;

	public static MessageObserver getInstance() {
		if (messageObserver == null) {
			messageObserver = new MessageObserver();

		}
		return messageObserver;
	}

	private String message = "";

	public void updateMessage(String message) {
		this.message = message;
		notifyObservers(this.message);
	}

}
